encoding/asn1.tagAndLength.length (field)
23 uses
encoding/asn1 (current package)
asn1.go#L590: ret.length = int(b & 0x7f)
asn1.go#L598: ret.length = 0
asn1.go#L606: if ret.length >= 1<<23 {
asn1.go#L612: ret.length <<= 8
asn1.go#L613: ret.length |= int(b)
asn1.go#L614: if ret.length == 0 {
asn1.go#L621: if ret.length < 0x80 {
asn1.go#L664: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L668: offset += t.length
asn1.go#L737: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L743: innerBytes := bytes[offset : offset+t.length]
asn1.go#L775: offset += t.length
asn1.go#L798: if t.class == expectedClass && t.tag == *params.tag && (t.length == 0 || t.isCompound) {
asn1.go#L801: } else if t.length > 0 {
asn1.go#L900: if invalidLength(offset, t.length, len(bytes)) {
asn1.go#L904: innerBytes := bytes[offset : offset+t.length]
asn1.go#L905: offset += t.length
common.go#L52: class, tag, length int
marshal.go#L262: if t.length >= 128 {
marshal.go#L263: l := lengthLength(t.length)
marshal.go#L265: dst = appendLength(dst, t.length)
marshal.go#L267: dst = append(dst, byte(t.length))
marshal.go#L707: length: bodyLen + t.tag.Len(),
 |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |